<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div class="panel panel-headline">
	<div class="panel-heading">
		<h3 class="panel-title">用户维护</h3>
		<div class="right col-md-6 text-right">
			<a href="#" id="add-btn" class="btn btn-primary">添加管理员</a>
		</div>
	</div>
	<div class="panel-body no-padding">
		<table class="table table-striped">
			<thead>
				<tr>
					<th>#</th>
					<th>用户名</th>
					<th>手机号</th>
					<th>注册时间</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody id="listLocation">
				<c:forEach items="${managers }" var="manager">
					<tr>
						<td>${manager.id}</td>
						<td>${manager.loginacct}</td>
						<td>${manager.phoneNum}</td>
						<td>${manager.createDate }</td>
						<td><button class="update-btn btn-primary" type="button">
								<i class="glyphicon glyphicon-check"></i>
							</button>&nbsp;&nbsp;&nbsp;&nbsp;
							<button class="delete-btn btn-danger" type="button">
								<i class="glyphicon glyphicon-remove"></i>
							</button></td>
					</tr>
				</c:forEach>
			</tbody>
			<tfoot>
				<tr>
					<td id="pageLocation" colspan="5" align="right"><ul
							class="pagination">
							<li class="disabled"><a> <span aria-hidden="true">«</span></a></li>
							<li class="active"><a>1</a></li>
							<li class="disabled"><a> <span aria-hidden="true">»</span></a></li>
						</ul></td>
				</tr>
			</tfoot>
		</table>
	</div>
</div>